package com.log;

import org.abc.LogTest;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class HelloWorld {

    public static void main(String[] args) throws InterruptedException {
        Logger logger = LogManager.getLogger(HelloWorld.class);
        for (int i = 0; i < 100; i++) {
            logger.trace("trace level {}", i);
            logger.debug("debug level");
            logger.info("info level");
            logger.warn("warn level");
            logger.error("error level");
            logger.fatal("fatal level");
        }
//        Thread.currentThread().join();

        LogTest.log();
    }
}
